package com.dd.cloud.user.service.doctor;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dd.cloud.user.entity.doctor.DoctorEquity;
import com.dd.cloud.user.entity.order.OrderPay;
import com.dd.cloud.user.res.doctor.DoctorEquityDetailRes;

/**
 * @author Lx
 * @version 1.0
 * @date 2024/2/2
 */
public interface IDoctorEquityService extends IService<DoctorEquity> {
    /**
     * 查询医生账号权益
     *
     * @return
     */
    DoctorEquityDetailRes queryDoctorEquityDetail();

    /**
     * 查询医生账号权益
     *
     * @param doctorId
     * @return
     */
    DoctorEquityDetailRes queryDoctorEquityDetail(Integer doctorId);

    /**
     * 慈善账号免费权益失效提醒
     */
    void csAccountExpireRemindSms();

    /**
     * 医生认证状态修改
     */
    void csDoctorAccountRemind();

    /**
     * 退回时间
     * @param orderPay
     */
    void refundTime(OrderPay orderPay);

    /**
     * 赠送时间
     * @param orderPay
     */
    void saveDoctorEquity(OrderPay orderPay,Integer type);
}
